package com.niit.mapper;


import com.niit.entity.Cinema;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface CinemaMapper {




    List <Cinema> findAllCinemas();

    Cinema findCinemaById(Integer id);

    Cinema findCinemaByName(String name);

    void addCinema(Cinema Cinema);

    int updateCinema(Cinema cinema);

    int deleteCinema(Integer cinema);

}
